removeMask

abstract fun removeMask(block: DesignBlock, index: Int)

Removes the mask at the given index. The mask block is not destroyed. Required scope: "layer/clipping" Experimental: this API may change in a minor release.

Parameters

block

the block to remove the mask from.

index

the index of the mask.